package cn.stylefeng.guns.modular.basic.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicStockuparea;
import cn.stylefeng.guns.modular.basic.model.params.BasicStockupareaParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicStockupareaResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 备货区表 服务类
 */
public interface BasicStockupareaService extends IService<BasicStockuparea> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    void add(BasicStockupareaParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    void delete(BasicStockupareaParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    void update(BasicStockupareaParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    BasicStockupareaResult findBySpec(BasicStockupareaParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2019-08-01
     */
    List<BasicStockupareaResult> findListBySpec(BasicStockupareaParam param,String condition,Long deptId,Long operateId);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2019-08-01
     */
     LayuiPageInfo findPageBySpec(BasicStockupareaParam param,String condition,Long deptId,Long operateId);



}
